package com.lovo.ssc.service.impl;

import com.lovo.ssc.bean.Commodity;
import com.lovo.ssc.mapper.CommodityMapper;
import com.lovo.ssc.service.ICommodityService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 0-已上架、1-促销中、2-预售商品 服务实现类
 * </p>
 *
 * @author lovo
 * @since 2022-07-11
 */
@Service
public class CommodityServiceImpl extends ServiceImpl<CommodityMapper, Commodity> implements ICommodityService {

	@Override
	public void trunCateCommodity() {
		baseMapper.trunCateCommodity();
	}
}
